package com.yunxi.sat.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.core.web.LoginInfo;
import com.yunxi.sat.pojo.PartnerCustomerVO;

import java.util.ArrayList;
import java.util.List;

public class PartnerCustomerDubboServiceMock implements PartnerCustomerDubboService {
    @Override
    public PartnerCustomerVO getById(String id) throws Exception {
        return null;
    }

    @Override
    public void saveOrUpdate(PartnerCustomerVO partnerCustomerVO, LoginInfo loginInfo) throws Exception {

    }

    @Override
    public void removeById(String id) {

    }

    @Override
    public PageInfo<PartnerCustomerVO> findPageByVO(PartnerCustomerVO partnerCustomerVO, Integer pageNum, Integer pageSize, LoginInfo loginInfo) throws Exception {
        PageInfo<PartnerCustomerVO> pageInfo = new PageInfo<PartnerCustomerVO>();
        List list = new ArrayList();
        PartnerCustomerVO vo = new PartnerCustomerVO();
        vo.setMemo("暂无数据");
        list.add(vo);
        pageInfo.setList(list);
        return pageInfo;
    }

    @Override
    public void removeByListVo(List<PartnerCustomerVO> partnerCustomerVOList) throws Exception {

    }

    @Override
    public List listByVo(PartnerCustomerVO partnerCustomerVO) {
        List list = new ArrayList();
        PartnerCustomerVO vo = new PartnerCustomerVO();
        vo.setMemo("暂无数据");
        list.add(vo);
        return list;
    }

    @Override
    public void del(List<String> list, String updateBy) throws Exception {

    }
}
